package org.dromara.agriculture.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 种植单元对象 agriculture_unit
 *
 * @author Robin
 * @date 2024-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("agriculture_unit")
public class AgricultureUnit extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 地块id
     */
    private Long landId;

    /**
     * 单元要素类型：1设备 2监控 3种植批次 4自动化场景  其他类型可自由拓展
     */
    private Long type;

    /**
     * 要素id
     */
    private Long elementId;


}
